﻿using System.Drawing;
using System.Resources;

namespace AiFrame.InterfaceLib.Resources
{
    public class ResourceImages
    {
        private ResourceManager _resMan;

        /// <summary>
        /// TODO: Konstruktor internal setzen und Interface-Unterstützung
        /// </summary>
        public ResourceImages()
        {
            _resMan = new ResourceManager("AiFrame.InterfaceLib.Properties.Resources", this.GetType().Assembly);
        }

        public Image DatasetPrint
        {
            get
            {
                return ListPrint;
            }
        }

        public Image ErrorCrossImage
        {
            get { return (Image) _resMan.GetObject("error"); }
        }

        public Image ListPrint
        {
            get { return Copy; }
        }

        public Image DatasetAdd
        {
            get { return (Image) _resMan.GetObject("dataset_add"); }
        }

        public Image DatasetOpen
        {
            get { return (Image) _resMan.GetObject("dataset_open"); }
        }

        public Image DatasetDelete
        {
            get { return (Image) _resMan.GetObject("dataset_delete"); }
        }

        public Image Copy
        {
            get { return (Image)_resMan.GetObject("copy"); }
        }

        public Image Cut
        {
            get { return (Image)_resMan.GetObject("cut"); }
        }

        public Image Paste
        {
            get { return (Image)_resMan.GetObject("paste"); }
        }

        public Image GreenLamp
        {
            get { return (Image) _resMan.GetObject("green_lamp"); }
        }

        public Image Refresh
        {
            get { return (Image) _resMan.GetObject("refresh"); }
        }
    }
}
